package bean;

import java.util.List;

public class RoomBean {
    private int id;
    private String addr;
    private int count;
    private String status = "正常";
    private String type;
    private List<StudentBean> studentBeanList;

    public RoomBean(String addr, int count, String status, String type, List<StudentBean> studentBeanList) {
        this.addr = addr;
        this.count = count;
        this.status = status;
        this.type = type;
        this.studentBeanList = studentBeanList;
    }

    public RoomBean() {
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getAddr() {
        return addr;
    }

    public void setAddr(String addr) {
        this.addr = addr;
    }

    public int getCount() {
        return count;
    }

    public void setCount(int count) {
        this.count = count;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public List<StudentBean> getStudentBeanList() {
        return studentBeanList;
    }

    public void setStudentBeanList(List<StudentBean> studentBeanList) {
        this.studentBeanList = studentBeanList;
    }

    @Override
    public String toString() {
        return "RoomBean{" +
                "id=" + id +
                ", addr='" + addr + '\'' +
                ", count=" + count +
                ", status='" + status + '\'' +
                ", type='" + type + '\'' +
                ", studentBeanList=" + studentBeanList +
                '}';
    }
}
